package cn.openbiotoken.android.facetoken;

import android.content.Context;
import android.graphics.Bitmap;

import androidx.annotation.NonNull;

public class HomoSapiensBitmapFaceDetector extends HomoSapiensBitmapBiometricsDetector {

    public HomoSapiensBitmapFaceDetector(@NonNull final Context context, @NonNull final Bitmap source) {
        super(context, source);
    }

    protected void beforeInitializeDetectionContext(@NonNull final DetectionContext detectionContext) {
        detectionContext.getFunction().FACE_MASK_RECOGNITION_ENABLED = true;
        detectionContext.getFunction().FACE_MASK_ENABLED = true;
    }

}
